<?php

namespace App\ZhCN;

if (!defined('IN_PX'))
    exit;

use App\Service;
use App\Repository;
use App\Tools\Auxi;
use App\Tools\Spell;
use Phoenix\Log\Log4p as logger;
use Phoenix\Routing\IHttpHandler;
use Phoenix\Support\MsgHelper;
class AddFile {

    private function __Controller() {}


    public function processRequest(Array & $context) {
        echo(MsgHelper::json('SUCCESS')); exit;
        if (isset($_POST['delFileName']) && $this->upFile->deleteFile($_POST['delFileName'], $_POST['uploadType'])) {
            echo(MsgHelper::json('SUCCESS'));
        } else {
            echo(MsgHelper::json('ERROR'));
        }
    }

}
